<script setup lang="ts">
import AddressItem from "@/views/address/components/addressList/addressItem.vue";
import { inject } from "vue";
import type { Ref } from "vue";
import type { Address } from "@/types/addressTypes";

const addressList = inject<Ref<Address[]>>("addressList");

</script>

<template>
    <address-item v-for="(address) in addressList" :address="address" :key="address.id"></address-item>
</template>
